package com.jsz.peini.service.user;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jsz.peini.bean.user.UserJudge;
import com.jsz.peini.mapper.user.UserJudgeMapper;

@Service
public class UserJudgeService {
	
	@Resource
	private UserJudgeMapper userJudgeMapper;
	
	public UserJudge selectByUserId(String userOtherId){
		UserJudge userJudge = userJudgeMapper.selectByUserId(userOtherId);
		return userJudge;
	}
	
	public int insertJudge(UserJudge userJudge){
		int result = userJudgeMapper.insertJudge(userJudge);
		return result;
	}

}
